package com.authine.cloudpivot.ext.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by Kris on 2019/01/18.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("购物车VO")
public class CartVo {

    @ApiModelProperty("商品id")
    private Long id;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("商品来源")
    private String src;
    @ApiModelProperty("品牌")
    private String brand;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("型号")
    private String model;
    @ApiModelProperty("规格")
    private String spec;
    @ApiModelProperty("单位")
    private String unit;
    @ApiModelProperty("包装单位")
    private String packageUnit;
    @ApiModelProperty("包装数量")
    private Double packageNum;
    @ApiModelProperty("保修期")
    private String warranty;
    @ApiModelProperty("无库存货期")
    private Integer delivery;
    @ApiModelProperty("最小起订量")
    private Double minOrder;
    @ApiModelProperty("数量")
    private Double num;
    @ApiModelProperty("税前单价")
    private Double pretaxPrice;
    @ApiModelProperty("税后单价")
    private Double price;
    @ApiModelProperty("税率")
    private Double taxRate;
    @ApiModelProperty("税前商品合计")
    private Double pretaxTotal;
    @ApiModelProperty("税后商品合计")
    private Double total;
    @ApiModelProperty("总运费")
    private Double freightTotal;
    @ApiModelProperty("税后商品运费共计")
    private Double amount;
    @ApiModelProperty("供应商名称")
    private String vendorName;
    @ApiModelProperty("最大订货库存")
    private Double maximum;
}
